package com.didispace.chapter36.service;

import com.didispace.chapter36.entity.User;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

import java.util.Date;

@Getter
@Setter
public class UserRegisterEvent extends ApplicationEvent {

    private User user;

    public UserRegisterEvent(User user) {
        super(user);
        this.user = user;
    }
}
